package com.cskt.erptemplate.pojo;

public class MenuDto {

    private String id;

    /**
     * 菜单名称
     */

    private String name;

    /**
     * 路径
     */

    private String path;

    /**
     * 是否隐藏
     */

    private Boolean hidden;

    /**
     * 类型 0-目录 1-功能菜单 2-权限
     */

    private Integer display;

    /**
     * 组件类型
     */

    private Integer componentType;

    /**
     * 组件
     */

    private String component;

    /**
     * 自定义请求参数
     */

    private String requestParam;


    /**
     * meta
     */

    private MenuMetaDto meta;

    /**
     * 父节点ID
     */

    private String parentId;

    /**
     * 是否收藏
     */

    private Boolean isCollect = Boolean.FALSE;


    public MenuDto() {
    }

    public MenuDto(String id, String name, String path, Boolean hidden, Integer display, Integer componentType, String component, String requestParam, MenuMetaDto meta, String parentId, Boolean isCollect) {
        this.id = id;
        this.name = name;
        this.path = path;
        this.hidden = hidden;
        this.display = display;
        this.componentType = componentType;
        this.component = component;
        this.requestParam = requestParam;
        this.meta = meta;
        this.parentId = parentId;
        this.isCollect = isCollect;
    }

    /**
     * 获取
     * @return id
     */
    public String getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return path
     */
    public String getPath() {
        return path;
    }

    /**
     * 设置
     * @param path
     */
    public void setPath(String path) {
        this.path = path;
    }

    /**
     * 获取
     * @return hidden
     */
    public Boolean getHidden() {
        return hidden;
    }

    /**
     * 设置
     * @param hidden
     */
    public void setHidden(Boolean hidden) {
        this.hidden = hidden;
    }

    /**
     * 获取
     * @return display
     */
    public Integer getDisplay() {
        return display;
    }

    /**
     * 设置
     * @param display
     */
    public void setDisplay(Integer display) {
        this.display = display;
    }

    /**
     * 获取
     * @return componentType
     */
    public Integer getComponentType() {
        return componentType;
    }

    /**
     * 设置
     * @param componentType
     */
    public void setComponentType(Integer componentType) {
        this.componentType = componentType;
    }

    /**
     * 获取
     * @return component
     */
    public String getComponent() {
        return component;
    }

    /**
     * 设置
     * @param component
     */
    public void setComponent(String component) {
        this.component = component;
    }

    /**
     * 获取
     * @return requestParam
     */
    public String getRequestParam() {
        return requestParam;
    }

    /**
     * 设置
     * @param requestParam
     */
    public void setRequestParam(String requestParam) {
        this.requestParam = requestParam;
    }

    /**
     * 获取
     * @return meta
     */
    public MenuMetaDto getMeta() {
        return meta;
    }

    /**
     * 设置
     * @param meta
     */
    public void setMeta(MenuMetaDto meta) {
        this.meta = meta;
    }

    /**
     * 获取
     * @return parentId
     */
    public String getParentId() {
        return parentId;
    }

    /**
     * 设置
     * @param parentId
     */
    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    /**
     * 获取
     * @return isCollect
     */
    public Boolean getIsCollect() {
        return isCollect;
    }

    /**
     * 设置
     * @param isCollect
     */
    public void setIsCollect(Boolean isCollect) {
        this.isCollect = isCollect;
    }

    public String toString() {
        return "MenuDto{id = " + id + ", name = " + name + ", path = " + path + ", hidden = " + hidden + ", display = " + display + ", componentType = " + componentType + ", component = " + component + ", requestParam = " + requestParam + ", meta = " + meta + ", parentId = " + parentId + ", isCollect = " + isCollect + "}";
    }
}
